#include <iostream>
#include <cmath>

using namespace std;

int main() 
{
    const float PI = 3.1415926;
    cout << "Please enter the radius and height of the cylinder: ";
    float radius, height;
    
    cin >> radius >> height;

    float area = PI * pow(radius,2);
    float volume = area * height;

    cout << "The base area of the cylinder is " << area;
    cout << ", the volume of the cylinder is " << volume << endl;

    return 0;
}
